<?php

// 获取用户地址列表
require_once $this->website['path']['action'] . '/app/token.php';
$json = array('status' => 'ok', 'msg' => '', 'data' => '');

$json['data'] = $this->website['class']['db']
	->table('user_address')
	->field('id', 'phone', 'def', 'province', 'city', 'district', 'tit', 'addr')
	->where('uid=?', $basic['uid'])
	->select();

$this->json_encode_encrypt($json);
